package com.heihei.dynamicarrays;

/**
 * 测试专用
 *
 * @author duanhengfei
 * @version 1.0
 * @date 2020/8/19 17:37
 * @since JDK1.8
 */
public class Assert {
    public static void test(boolean value) {
        try{
            if(!value) throw new Exception("测试未通过");
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}